#ifndef TABCLASS_H
#define TABCLASS_H

#include <QWidget>
//#include "ui_add_navpoint.h"
//#include "../action_include/action_data_ui.hpp"
//#include "../dataInclude/singleData.h"
#include "../dataInclude/common.h"
#include "../dataInclude/structData.h"

class TabBase : public QWidget
{ 
  Q_OBJECT
  public:
    TabBase();
    virtual ~TabBase();
    virtual void dealData()=0;
    virtual QWidget* getTab();

  //Q_SIGNALS:
  public Q_SLOTS:
       virtual void rosConnSolt(bool conn);
  protected:
     QWidget* tab_;
     virtual void init()=0;
     virtual void initUi()=0;
            
};


#endif // gui_qt_demo_MAIN_WINDOW_H
